package com.kob.design.builder;

/**
 * @Description: TODO
 * @Author: fyt
 * @Date: 2024/4/16 10:01
 **/
public class Director {
    private Builder builder;

    public Director(Builder builder) {
        this.builder = builder;
    }

    public Bike construct() {
        builder.builderFrame();
        builder.builderSeat();
        return builder.createBike();
    }
}
